import  flyio from 'flyio'
import Base from '../../config/testing.env'

let base = Base.BASE_API

export const getENVConfigapi= (params)=>{return flyio.get(`${base}/tool/getevn`,params)}
export const addENVConfigapi=(params)=>{return flyio.post(`${base}/tool/addevn`,params)}

export const getDbConfigapi= (id,params)=>{return flyio.get(`${base}/tool/getdbconfig/${id}`,params)}
export const addDbConfigapi= (params)=>{return flyio.post(`${base}/tool/adddbconfig`,params)}
export const updateDbConfigapi= (params)=>{return flyio.post(`${base}/tool/updateconfig`,params)}
//export const deleteDbConfigapi= (params)=>{return flyio.delete(`${base}/dbconfig`,params)}



